home *** CD-ROM | disk | FTP | other *** search
/ Chip 1996 November / CHIP Kasım 1996.iso / ms / visualj / vjtrialb.exe / RCDATA / CABINET / MFCAPWZ.DLL / TEMPLATE / SRVRITEM.H < prev    next >
C/C++ Source or Header  |  1996-07-31  |  958b  |  37 lines

  1. // $$srvritem_hfile$$.h : interface of the $$SRVRITEM_CLASS$$ class
  2. //
  3.  
  4. class $$SRVRITEM_CLASS$$ : public $$SRVRITEM_BASE_CLASS$$
  5. {
  6.     DECLARE_DYNAMIC($$SRVRITEM_CLASS$$)
  7.  
  8. // Constructors
  9. public:
  10.     $$SRVRITEM_CLASS$$($$DOC_CLASS$$* pContainerDoc);
  11.  
  12. // Attributes
  13.     $$DOC_CLASS$$* GetDocument() const
  14.         { return ($$DOC_CLASS$$*)$$SRVRITEM_BASE_CLASS$$::GetDocument(); }
  15.  
  16. // Overrides
  17.     // ClassWizard generated virtual function overrides
  18.     //{{AFX_VIRTUAL($$SRVRITEM_CLASS$$)
  19.     public:
  20.     virtual BOOL OnDraw(CDC* pDC, CSize& rSize);
  21.     virtual BOOL OnGetExtent(DVASPECT dwDrawAspect, CSize& rSize);
  22.     //}}AFX_VIRTUAL
  23.  
  24. // Implementation
  25. public:
  26.     ~$$SRVRITEM_CLASS$$();
  27. #ifdef _DEBUG
  28.     virtual void AssertValid() const;
  29.     virtual void Dump(CDumpContext& dc) const;
  30. #endif
  31.  
  32. protected:
  33.     virtual void Serialize(CArchive& ar);   // overridden for document i/o
  34. };
  35.  
  36. /////////////////////////////////////////////////////////////////////////////
  37.